<template>
  <div>
    <h3>学员管理</h3>
    <button @click="addStudent">添加学员</button>
    <router-view/>
  </div>
</template>
<script>
  export default {
    methods:{
      addStudent() {
        console.log("开始添加学员");
        let route = this.$router.push({name: 'AddStudent'});
        console.log(route);
      },
    }
  }
</script>
<style scoped>

</style>
